Windows change computer name without reboot

Save this as a batch file, and run from command console set /p newName=Please input the new computer name: echo Modifying registry keys… reg add “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ActiveComputerName” /v “ComputerName” /d “%newName%” -f reg add “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName” /v “ComputerName” /d “%newName%” -f reg add “HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Control\ComputerName\ComputerName” /v “ComputerName” /d “%newName%” -f reg add “HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\ComputerName\ActiveComputerName” /v “ComputerName” /d “%newName%” -f … Continue reading Windows change computer name without reboot